package com.candy.cms.service.impl;

import com.candy.cms.entity.Article;
import com.candy.cms.entity.ArticleContent;
import com.candy.cms.entity.ArticleVo;
import com.candy.cms.mapper.ArticleContentMapper;
import com.candy.cms.service.IArticleContentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 文章内容 服务实现类
 * </p>
 *
 * @author pxs
 * @since 2021-06-27
 */
@Service
public class ArticleContentServiceImpl extends ServiceImpl<ArticleContentMapper, ArticleContent> implements IArticleContentService {

	@Override
	public ArticleVo getArticleById(Long articleId)
	{
		return this.getBaseMapper().getArticleById(articleId);
	}
}
